package com.service.information;

import java.util.List;


import com.po.DictionaryInfo;
import com.po.InformationInfo;
import com.po.SearchInfo;
import com.po.TagInfo;

public interface InformationService {
	public List<InformationInfo> getInformationList(InformationInfo informationInfo);

	public List<InformationInfo> getRecommendList();

	public InformationInfo getOneInformation(String info_id);

	public int deleteInformations(String[] ids);

	public int deleteInformations(InformationInfo informationInfo);

	public int getInformationCount(InformationInfo informationInfo);

	public List<InformationInfo> getSearchList(int offset, int limit, String category, String content,
			String[] reczsk_id, String tag_name, String time);

	public int getSearchCount(String category, String content, String[] reczsk_id, String tag_name, String time);

	public List<InformationInfo> getADSearchList(int offset, int limit, List<SearchInfo> orlist,
			List<SearchInfo> andlist, String[] reczsk_id, String tag_name, String time);

	public int getADSearchCount(int offset, int limit, List<SearchInfo> orlist,
			List<SearchInfo> andlist, String[] reczsk_id, String tag_name, String time);


	public int addUploadinfo(InformationInfo information);
	
	public int addInformationList(List<InformationInfo> info);
	
	public int updateInformation(InformationInfo info);
	
	public int updateBrowser(String infoid);
	
	public int updateDownload(String infoid,String userid);
	
	public List<InformationInfo> getInfoManage(String infoname,String kudata,String infolevel,int offset,int page);
	
	public int  getInfoManageCount(String infoname,String kudata,String infolevel);
	public int updateInformationKu(String origin,String destination);
	public int getInformationKuCount(String origin);
	public int updateAccess();
	
	public List<DictionaryInfo> getSearchYearList( String category, String content,
			String reczsk_id, String tag_name, String time); 
	
	public List<DictionaryInfo> getADSearchYearList( List<SearchInfo> orlist,
			List<SearchInfo> andlist, String reczsk_id, String tag_name, String time);
	
	public int updateInfolevel(String level,String infoid);
	public int updateInfoslevel(String infoids,String level);
	public int getInformation(InformationInfo info);
	public int updateInfosclass(String kudata,String ids);
	public List<InformationInfo> getInfoExcel(String infoname,String kudata,String infolevel);
	public List<InformationInfo> getInfokeywords(String infoid);
	public List<InformationInfo> getWbrecommendList(String keyword,String infoid);
	public List<TagInfo> getSearchTagList( String category, String content,
			String reczsk_id, String tag_name, String time);
	public List<TagInfo> getADSearchTagList( List<SearchInfo> orlist,
			List<SearchInfo> andlist, String reczsk_id, String tag_name, String time);
}
